//
//  UIImage+HXImage.h
//  HXTClient
//
//  Created by lemon on 14-4-22.
//  Copyright (c) 2014年 easaa. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (HXImage)

- (UIImage *)resizeImageFromInsets:(UIEdgeInsets)insets;

- (UIImage *)rotateImage;

//等比例缩放
-(UIImage*)scaleToSize:(CGSize)size;

-(UIImage*)getSubImage:(CGRect)rect;

@end
